package com.thinkingcoder.tcsharding.property;

import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * sharding properties
 */
@Data
@ConfigurationProperties(prefix = "spring.sharding")
public class ShardingProperties {

    private Map<String, Properties> dataSources = new LinkedHashMap<>();
    private Map<String, TableProperties> tables = new LinkedHashMap<>();

}

